<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="/js/vue.js"></script>
    <title>v-text指令</title>
</head>
<body>
    <div id ="app">
       <p v-text="msg"></p >
    </div>
</body>
<script>
       var vm =new Vue({
         el:"#app",
         data:{
           msg:'hello China!'
         }
       })
</script> 
</html>